<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Widgets</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Widgets</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class handles all functions  about Widgets.. also a helper-class.</p>
	<ul class="tags">
				<li><span class="field">link:</span> <a href="https://code.google.com/p/onlineprojectplanner/">https://code.google.com/p/onlineprojectplanner/</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_libraries---Widgets.php.html">/libraries/Widgets.php</a> (line <span class="field"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a9">9</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																								<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_CI" title="details" class="var-name">$_CI</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_debug" title="details" class="var-name">$_debug</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_generic_icon_image" title="details" class="var-name">$_generic_icon_image</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_icon_height" title="details" class="var-name">$_icon_height</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_icon_width" title="details" class="var-name">$_icon_width</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_widgets" title="details" class="var-name">$_widgets</a>
				</div>
																<div class="var-title">
					<img src="../media/images/PrivateVariable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$_widget_dir" title="details" class="var-name">$_widget_dir</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Widgets</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#GetAllIcons" title="details" class="method-name">GetAllIcons</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#GetProjectIcons" title="details" class="method-name">GetProjectIcons</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#GetProjectJavascripts" title="details" class="method-name">GetProjectJavascripts</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#GetProjectStylesheets" title="details" class="method-name">GetProjectStylesheets</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$for_inline</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/PrivateMethod.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#_GetProjectWidgets" title="details" class="method-name">_GetProjectWidgets</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/PrivateMethod.png" alt=" "/>
											<span class="method-result">mixed</span>
										<a href="#_LoadFileType" title="details" class="method-name">_LoadFileType</a>
											(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$loadSTR</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#_readWidgets" title="details" class="method-name">_readWidgets</a>
										()
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
<a name="var$_CI" id="$_CI"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_CI</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a11">11</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_debug" id="$_debug"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_debug</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a13">13</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_generic_icon_image" id="$_generic_icon_image"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_generic_icon_image</span>
			 = <span class="var-default"> &quot;images/buttons/generic_plugin_icon.png&quot;</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a18">18</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_icon_height" id="$_icon_height"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_icon_height</span>
			 = <span class="var-default"> 48</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a19">19</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_icon_width" id="$_icon_width"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_icon_width</span>
			 = <span class="var-default"> 48</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a20">20</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_widgets" id="$_widgets"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_widgets</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a15">15</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
<a name="var$_widget_dir" id="$_widget_dir"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/PrivateVariable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_widget_dir</span>
			 = <span class="var-default"> &quot;application/widgets&quot;</span>			(line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a17">17</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a22">22</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">Widgets</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetAllIcons" id="GetAllIcons"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">GetAllIcons</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a187">187</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will return html with icons for all  icons found in the widgets-folder.</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetAllIcons
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodGetProjectIcons" id="GetProjectIcons"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">GetProjectIcons</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a218">218</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will return html with icons for  a project.</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetProjectIcons
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetProjectJavascripts" id="GetProjectJavascripts"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">GetProjectJavascripts</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a91">91</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will return html (script-tag) for all widgets  (when initializing application) for a specified project</p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetProjectJavascripts
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="methodGetProjectStylesheets" id="GetProjectStylesheets"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">GetProjectStylesheets</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a109">109</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This function will return html (link-tag) for all widgets  (when initializing application) for a specified project.</p>
<p class="description"><p>If $for_inline is set to true then the return-string can  be used as injected inline-css (@import)</p></p>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			GetProjectStylesheets
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>, [<span class="var-type">bool</span>&nbsp;<span class="var-name">$for_inline</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$for_inline</span><span class="var-description">: (optional, default false)</span>			</li>
				</ul>
		
			
	</div>
<a name="method_GetProjectWidgets" id="_GetProjectWidgets"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/PrivateMethod.png" />
		<span class="method-title">_GetProjectWidgets</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a268">268</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">load all widgets from database for a project</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			_GetProjectWidgets
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$projectID</span>			</li>
				</ul>
		
			
	</div>
<a name="method_LoadFileType" id="_LoadFileType"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/PrivateMethod.png" />
		<span class="method-title">_LoadFileType</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a133">133</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Re-factored internal function for  GetProjectJavascripts, GetProjectStylesheets</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			_LoadFileType
		</span>
					(<span class="var-type">int</span>&nbsp;<span class="var-name">$projectID</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$type</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$loadSTR</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$projectID</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$loadSTR</span>			</li>
				</ul>
		
			
	</div>
<a name="method_readWidgets" id="_readWidgets"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">_readWidgets</span> (line <span class="line-number"><a href="../__filesource/fsource_phpDocumentor__librariesWidgets.php.html#a35">35</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initializer; will read and store information</p>
<p class="description"><p>about all widgets currently in the folder widgets/*</p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_readWidgets
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 01 Dec 2010 09:14:03 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>